home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / NeXT-Icons / next-icon@gun.com / FAQ / TransparentGIFs.rtfd / InlineImagesFAQ.txt < prev    next >
Encoding:
Text File  |  1995-01-01  |  29.1 KB  |  663 lines

  1.                    INLINE IMAGES FREQUENTLY ASKED QUESTIONS
  2.  
  3.    
  4.    Version 0.9b, updated 11 December, 1994. 
  5.    
  6.    Maintained by Brian Patrick Lee (blee@media-lab.mit.edu) 
  7.    
  8.    This document addresses color mapping problems that can arise when WWW
  9.    browsers that display multiple inline images. 
  10.    
  11.    Contents 
  12.      * 1. Introduction 
  13.           + 1.1General 
  14.           + 1.2 Inline Images vs. External Viewers 
  15.      * 2. Color Mapping 
  16.           + 2.1 True Color 
  17.           + 2.2 Indexed Color 
  18.      * 3. GIFs 
  19.           + 3.1 Transparency 
  20.           + 3.2 Interlacing 
  21.      * 4. JPEGs 
  22.      * 5. XBMs 
  23.      * 6. WWW Browsers 
  24.           + 6.1 XMosaic 
  25.           + 6.2 MacMosaic 
  26.           + 6.3 Netscape 
  27.           + 6.4 Other Browsers With Inline Images 
  28.           + 6.5 Imageless Browsers 
  29.           + 6.6 Downloading Inline Images 
  30.      * 7. Image Manipulation Tools 
  31.           + 7.1 Photoshop 
  32.           + 7.2 DeBabilizer 
  33.           + 7.3 Freely Distributable Tools 
  34.                o 7.3.1 DOS and Windows 
  35.                o 7.3.2 Macintosh 
  36.                o 7.3.3 OS/2 
  37.                o 7.3.4 Unix and XWindows 
  38.                o 7.3.5 Other 
  39.      * 8. Inline Image Tips and Tricks 
  40.      * 9. About This Document 
  41.      * 10. Feedback and Help Requested 
  42.      * 11. Credits 
  43.           + 11.1 Citing 
  44.           + 11.2 Copyright 
  45.             
  46. 1. Introduction
  47.  
  48.   1.1 GENERAL INTRO
  49.   
  50.    A WWW browser running on a computer with a true-color display could
  51.    hypothetically display any number of GIFs as inline images with no
  52.    problems. However, many computers are equipped with 8-bit graphics
  53.    hardware, which can show severe color mapping problems with multiple
  54.    inlined images, and many browsers limit and distort inline image
  55.    palettes, even with true-color displays. 
  56.    
  57.    The information here is based on problems encountered while developing
  58.    a WWW server on a Personal DECstation 5000/25 with 8-bit graphics,
  59.    running Ultrix v4.2 and OSF/Motif v1.2. The WWW browsers used were
  60.    XMosaic v2.1 on the DECstation and MacMosaic v1.0.3 on an variety of
  61.    Macs, including an LCIII and a IIvx with 8-bit color graphics. GIFs
  62.    were manipulated with Adobe Photoshop 2.5 (commercial software) for
  63.    the Macintosh. All of the examples below are based on the above
  64.    configurations. Additional contributions were submitted by the people
  65.    listed in the credits. 
  66.    
  67.   1.2 INLINE IMAGES VS. EXTERNAL VIEWERS
  68.   
  69.    Most WWW browsers will display GIFs and XBMs as inlined images, and
  70.    will launch external viewers to display JPEGs and other formats. With
  71.    8-bit graphics, a maximum of 256 colors can be displayed per window;
  72.    less if the window doesn't have it's own custom palette. 
  73.    
  74.    On a true color system, all images could potentially be displayed
  75.    inline without problems, but many systems don't have true color
  76.    graphics. With external images, the viewer has the responsibility of
  77.    rendering the image, and many can be set to use a custom palette and
  78.    dither true color images. For inline images, however, the browser must
  79.    do the palette mapping, and browsers vary widely in their ability to
  80.    display multiple images on page. Browsers also vary widely in their
  81.    ability to dither images well, even with only one image on a page. 
  82.    
  83.    This document can help you create pages with images that will look
  84.    good on most systems. Hopefully, all browsers will support beautiful,
  85.    fast dithering and image rendering for 8-bit graphics one day, so this
  86.    document will become obsolete. Even inline JPEGs must be dithered by a
  87.    client, so JPEGs are not the final answer, unless browsers do as good
  88.    a job as external viewers do. 
  89.    
  90. 2. Color Mapping
  91.  
  92.   2.1 TRUE COLOR
  93.   
  94.    True color images are stored in a 24-bit RGB format where each pixel
  95.    in a file can be any one of approximately 16.7 million colors. For
  96.    example, a 3 x 3 pixel image with the colors red, green, and blue
  97.    could be represented as: 
  98.  
  99.                         Colors
  100. P        R   G   B       R   G   B       R   G   B
  101. i  1    255-000-000     000-255-000     000-000-255
  102. x  2    000-255-000     000-000-255     255-000-000
  103. e  3    255-000-000     000-255-000     000-255-000
  104. l       (True Color)
  105.  
  106.    Each pixel can have a value of 0 to 256 for each of the three colors,
  107.    so 256 * 256 * 256 = 1577216 possible colors. Each color, therefore,
  108.    has it's own RGB values as it is stored. 
  109.    
  110.   3. GIFS
  111.   
  112.    GIF is the acronym for Graphic Interchange Format. It was developed by
  113.    Compuserve as a standard to facilitate the display of downloaded
  114.    images on different computer platforms. GIF images handle simple
  115.    images with limited palettes best. A line drawing, for example will be
  116.    very sharp and compress well as a GIF. 
  117.    
  118.    The GIF format uses a color table with up to 256 colors. A color table
  119.    can be global, to be used by all of the GIFs in a data stream, or
  120.    local, to be used by the GIF immediately following the color table. A
  121.    local color table supersedes a global table, and if no color table is
  122.    present, a GIF viewer can use a previously used color table, a system
  123.    color table, or a color table of its own. 
  124.    
  125.   3.1 TRANSPARENCY
  126.   
  127.    There are two GIF formats: 87a and 89a. Most viewers only support 87a,
  128.    and Photoshop only produces 87a. 89a has some graphic control
  129.    extensions, including a Transparency Index, which causes the
  130.    background color of the display to remain unchanged for the color
  131.    indexed as transparent. This can creat an image that does not show a
  132.    rectangular border, like a normal GIF or JPEG would. 
  133.    
  134.    Transparent GIFs can be used as spacers, to position images evenly, or
  135.    wherever you want on a page. The best way to do that is to make
  136.    transparent GIFs that are only 1 pixel high by however many pixels you
  137.    need in width, so they will download quickly. Using transparent
  138.    spacers can be very useful to separate images, but when pages are
  139.    resized or font sizes are changed, the page will be reformatted, so
  140.    they are not very useful if you want to position an image in an exact,
  141.    particular way. 
  142.    
  143.    Many browsers do not support the transparency function. In order to
  144.    fake transparency, you can make your background color the same as the
  145.    default background color of your browser of choice, and index that
  146.    color as transparent also. Many browsers use a neutral gray of
  147.    192-192-192 for their background color. If your image is displayed on
  148.    a browser with that color as a background, it will apprear transparent
  149.    whether the browser supports transparency or not. 
  150.    
  151.    Make sure that the color you pick as transparent doesn't occur
  152.    anywhere in the image besides the background, or your image will have
  153.    ``holes'' in it! 
  154.    
  155.   3.2 INTERLACING
  156.   
  157.    Interlaced GIFs contain the same information as non-interlaced GIFs,
  158.    but the rows are arranged differently. 
  159.  
  160. Group 1:  Every 8th row, starting with row 0.  (Pass 1)
  161. Group 2:  Every 8th row, starting with row 4.  (Pass 2)
  162. Group 3:  Every 8th row, starting with row 2.  (Pass 3)
  163. Group 4:  Every 8th row, starting with row 1.  (Pass 4)
  164.  
  165.    When an interlaced GIF is decoded by a viewer, either the viewer
  166.    de-interlaces the image before display, or the interlaced picture is
  167.    gradually displayed in the order the rows are stored. 
  168.  
  169. Row                                     Interlace Pass
  170. 0  ------------------------------------  1
  171. 1  ------------------------------------           4
  172. 2  ------------------------------------        3
  173. 3  ------------------------------------           4
  174. 4  ------------------------------------     2
  175. 5  ------------------------------------           4
  176. 6  ------------------------------------        3
  177. 7  ------------------------------------           4
  178. 8  ------------------------------------  1
  179. 9  ------------------------------------           4
  180. 10 ------------------------------------        3
  181. 11 ------------------------------------           4
  182. 12 ------------------------------------     2
  183. 13 ------------------------------------           4
  184. 14 ------------------------------------        3
  185. 15 ------------------------------------           4
  186.  
  187.    The format was intended to allow users to view an image with a slow
  188.    viewer, and get a sense of the overall image quickly. Now, interlaced
  189.    GIFs are very popular because the Netscape WWW browser displays images
  190.    as they are downloading, so interlaced GIFs are displayed with
  191.    gradually increasing resolution. Interlacing is not a feature of
  192.    Netscape, Netscape just displays them differently than the other
  193.    browsers. 
  194.    
  195.    Both 87a and 89a GIFs can be interlaced, and the files are about the
  196.    same size as non-interlaced GIFs. 
  197.    
  198.    To get more information about the GIF format, see the CompuServe GIF
  199.    Programming Reference. From a CompuServe account, follow these menus:
  200.    Graphic Forums, Intro to Go Graphics, Appendices, Download the GIF
  201.    Specification. 
  202.    
  203. JPEGs
  204.  
  205.    JPEG is a very efficient, true-color, compressed image format. It was
  206.    designed by The Joint Photographic Experts Group to compress
  207.    true-color images. JPEG compression works best with photograph-like
  208.    images, i.e. images that are complex, and have a wide range of colors.
  209.    An image of a person, for example, usually looks much better, and
  210.    compresses to a much smaller file size, in the JPEG format, rather
  211.    than the GIF format. On the other hand, a simple logo or line drawing
  212.    will usually compress better and come out more detailed as a GIF. 
  213.    
  214.    Even with JPEGs, an 8-bit graphics system can only display so many
  215.    colors, so if many images are on the same page with widely different
  216.    palettes, the images may get trashed. If an external viewer shows
  217.    images, most can use a custom palette, so although you'll get some
  218.    colormap flashing when you go from window to window, the images will
  219.    each get a custom palette temporarily. If they are inline, it's up to
  220.    the browser to handle dithering your 256 or less colors to best
  221.    represent the potential thousands or millions in the multiple JPEGs.
  222.    Most browsers just limit the number of colors per image as displayed,
  223.    because colors are allocated in the order the images are downloaded.
  224.    Although this delays the inevitable, it still leads to the trashing of
  225.    images once all of the available colors are allocated, and even
  226.    trashes images if there are still colors left, through palette
  227.    reduction. 
  228.    
  229. 5. XBMs
  230.  
  231.    X Bit Maps are two color images, usually rendered with the foreground
  232.    color as the text color, and the background color as transparent, or
  233.    the text background color. They are much larger than 2 color GIFs, and
  234.    are not compressed. XBMs are stored as ASCII. They are 3-10 times
  235.    larger than GIFs because they are not compressed. They are always the
  236.    text color and transparent. 
  237.    
  238. WWW Browsers
  239.  
  240.   XMOSAIC
  241.   
  242.    XMosaic allocates colors in the order the inlined images are
  243.    displayed. If the first image has 256 colors, and the second image has
  244.    256 different colors, the second image will have to use the colors
  245.    already allocated, and will be messed up. In order to deal with this
  246.    problem, XMosaic limits inlined images to 50 colors by default. If you
  247.    load 5 256 color images, each will be reduced to 50 colors, and you
  248.    will have 5 x 50, or 250 colors. Aside from the 16 colors in the
  249.    window, and whatever else you have on the screen ``stealing'' colors,
  250.    it will look pretty okay. XWindows Mosaic does this to reduce the
  251.    chances of running out of colors with more than one image on a page.
  252.    This works okay if many images on the same page use different
  253.    palettes, but looks bad if there are more than 50, but less than 256
  254.    colors on a single page. 
  255.    
  256.    You can change the default 50 color limit by putting: 
  257.    
  258.    Mosaic*colorPerInlinedImage: # 
  259.    
  260.    in your .Xdefaults file, where # is a number between 50 and 256 that
  261.    would suit your needs. 
  262.    
  263.    Some colors will still be ``near misses'', but it will look a lot
  264.    better than the default 50 per image. Also, XMosaic will not have to
  265.    spend CPU time reducing the palette of an image to 50 colors. If you
  266.    run out of colors with multi-image pages, though, it will look pretty
  267.    awful. 
  268.    
  269.   6.2 MACMOSAIC
  270.   
  271.    MacMosaic seems to do a much better job with color allocation and
  272.    dithering than XMosaic does, and has no default 50 color per image
  273.    limit on 8 bit graphic systems. MacMosaic v1.0.3 doesn't support
  274.    transparent GIFs, but the background color, which cannot be changed,
  275.    is white. So, you can just make the color you want to be transparent
  276.    white, and you'll get the same effect. 
  277.    
  278.   6.3 NETSCAPE
  279.   
  280.    Netscape does a number of things with inline images that make it a
  281.    very nice browser to use. 
  282.      * It supports inline JPEGs. Hopefully, this feature will be
  283.        supported by most browsers in the near future. 
  284.      * It displays images as they are downloading, as opposed to waiting
  285.        until after the whole page, including images, is downloaded. This
  286.        is what allows for the intersting interlaced GIF display effect. 
  287.      * It shows you how large an image is, and how much of it is
  288.        downloaded, so you know what you're waiting for if you have a slow
  289.        link. 
  290.      * It appears to be nearly identical on PCs, Macs, and XWindows. 
  291.        
  292.    In my opinion, Netscape has shaken things up in a very good way, by
  293.    showing how fast and slick a browser can be. I hope other browsers
  294.    soon follow suit. 
  295.    
  296.   6.4 OTHER BROWSERS WITH INLINE IMAGES
  297.   
  298.    I need more information on the following browsers that support inline
  299.    images, as well as all of the other browsers available. How well do
  300.    they render images in terms of quality? What types of inline images do
  301.    they support (JPEGs, interlaced GIFs, transparent GIFs, etc.). How
  302.    fast are they? What platforms do they run on? Comparisons would be
  303.    nice. 
  304.  
  305. Browser        Transparency  Interlace  JPEG   Alt Tag
  306.  
  307. Air Mosaic              yes     ?       ?       yes
  308. Amiga Mosaic            yes     no      yes     ?
  309. Chimera                 ?       ?       ?       ?
  310. Emacs W3                ?       ?       yes     ?
  311. IBM WebExplorer         ?       ?       ?       ?
  312. NCSA MacMosaic 2.0a3    yes     no      no      no
  313. NCSA WinMosaic 2.0a6    no      no      no      no
  314. NCSA XMosaic 2.1        yes     no      no      no
  315. Netscape                yes     yes     yes     no
  316. Spyglass Mosaic         ?       ?       ?       yes
  317.  
  318.    The Alt Tag column refers to a browsers ability to display the alt
  319.    text when autoloading of inline images is turned off. 
  320.    
  321.   6.5 IMAGELESS BROWSERS
  322.   
  323.    More people have access to Lynx and the CERN WWW line mode (text
  324.    based) browsers than the browsers that support inline images. So it's
  325.    nice not to forget about them when you are creating pages. Seeing
  326.    [IMAGE] all over the place can get pretty annoying, and can easily be
  327.    replaced. 
  328.    
  329.    Instead, use the alt tag: (add angle brackets where appropriate) 
  330.    
  331.    img src="big-slow-loading-graphic.gif" alt="Text that describes the
  332.    image, or illuminates the following passage in such a way that the
  333.    image isn't sorely missed." 
  334.    
  335.    or 
  336.    
  337.    img src="big-slow-loading-graphic.gif" alt=" " 
  338.    
  339.    (so imageless browsers won't see [IMAGE] and feel that they are
  340.    missing something, especially if it's just decorative.) 
  341.    
  342.    Some browsers that support inline images, including Spyglass and AIR
  343.    Mosaic will display the alt text when auto image loading is turned
  344.    off. This is another feature that will hopefully be implemented by
  345.    other browsers. 
  346.    
  347. 6.6 Downloading Inline Images
  348.  
  349.    Many inline images are GIF previews (thumbnails) of images, and have
  350.    links to JPEGs, so they can be downloaded. If the image is displayed
  351.    by an external viewer, you can save it from the viewer. However, some
  352.    images are only viewable as inline images. There are a number of ways
  353.    to do this. 
  354.    
  355.    Copy it from the temp directory. 
  356.           Figure out where your temp directory is, and copy the image
  357.           from there. On Unix systems, it's usually /tmp. 
  358.           
  359.    Use a screen capture. 
  360.           Although it's easy to do a screen capture, you will get a
  361.           rendered version of the image. In other words, your display
  362.           system may not display the image with it's full resolution, or
  363.           there may be colormapping problems, etc. If it's a JPEG, you
  364.           won't get the high-quality compressed version, and if it's a
  365.           GIF, you won't preserve it's attributes, such as interlacing
  366.           and transparency. You'll also have to crop the image after the
  367.           caure. 
  368.           
  369.    Download it with a URL. 
  370.           If you are using an imageless client, you can download images
  371.           if they have a link, but how do you see the inline images? If
  372.           you view the HTML source for the page, you can find the tag for
  373.           displaying the image. 
  374.           
  375.           For example, if you see this in the html: (angle brackets
  376.           omitted) 
  377.           
  378.           img alt=" " src="directory/path/image-you-want.gif" 
  379.           
  380.           You can use the following URL to dowload the image directly: 
  381.           
  382.           http://www.machine.name/directory/path/image-you-want.gif" 
  383.           
  384.    If you are grabbing someone else's images, be courteous about it,
  385.    because you don't want to violate copyrights. Don't just steal them to
  386.    put on your page; get permission or design your own images. 
  387.    
  388. 7. Image Manipulation Tools
  389.  
  390.   7.1 PHOTOSHOP
  391.   
  392.     7.1.1 One Palette Per Page
  393.     
  394.    To create the best GIF images for display on systems with 8 bit
  395.    graphics, using Adobe Photoshop on a Macintosh for image manipulation:
  396.      * Combine all of the images that will appear on one page into one
  397.        large image. This image will be used to generate a palette. 
  398.      * Convert it to an 8 bit indexed color image with an adaptive
  399.        palette. Photoshop will keep that palette in memory. Do not use
  400.        dithering, because it will prevent browsers with intelligent
  401.        color-management and/or dithering schemes from doing their job
  402.        well. If there is a particular area of the image that you would
  403.        like to preserve the quality of, Photoshop will favor an area that
  404.        is selected when it picks an adaptive palette. 
  405.      * Open the original individual images for that page. This will give
  406.        better results than just chopping up the combined images. 
  407.      * Convert them to 8 bit indexed color images with the Previous
  408.        Palette option, so they will all have the same adaptive palette
  409.        (from the combined image) for the whole page. Do not use
  410.        dithering. 
  411.      * Save the converted images as GIFs. 
  412.        
  413.    This will look great on any color Mac. A default XWindows Mosaic
  414.    client will reduce each image to 50 colors, but as long as you don't
  415.    have more than 256 colors on a page, it should look okay. 
  416.    
  417.    For display with XWindows Mosaic with the 50 color per image default: 
  418.      * For up to 5 images per page: 
  419.           + Convert each image to an indexed color adaptive palette with
  420.             50 colors per image, with up to 5 such images per page, to
  421.             stay within the 256 color limit. (5 images x 50 colors=250.)
  422.             Do not use dithering. If you select an area, Photoshop will
  423.             favor it for adaptive palette color selection. 
  424.           + Save the converted images as GIFs. 
  425.      * For more than 5 images per page: 
  426.           + Combine similar images into a large image. 
  427.           + Convert it to an indexed color image with a 50 color adaptive
  428.             palette, to get a palette for that set of images. Do not use
  429.             dithering. Select an area for adaptive palette favoring if
  430.             you so desire. 
  431.           + Open the original individual images in the similar set. 
  432.           + Convert them to indexed color images with the Previous
  433.             Palette option, so they will have the same palette per set.
  434.             Do not use dithering. 
  435.           + Save the converted images as GIFs. 
  436.           + Don't use more than 5 such 50 color *palettes* per page. In
  437.             other words, you could use 4 images with one 50 color
  438.             palette, 3 images with another 50 color palette, 1 with
  439.             another 50 color palette, etc., for up to 5 palettes. 
  440.             
  441.    Since colors are allocated in the order displayed, you can reserve
  442.    colors by simply making sure that they are displayed first. For
  443.    example, if you have buttons at the bottom of a page that show palette
  444.    mapping problems, a ``quick and dirty'' solution is to put an insignia
  445.    or bullet with the same colors at the top of the page. This may not
  446.    work correctly, however, if someone uses the back button or a link to
  447.    get to the middle of the page, in which case the top of the page might
  448.    not be displayed before the buttons. 
  449.    
  450.   7.2 DEBABILIZER
  451.   
  452.    DeBabilizer is an image manipulation tool that can create a
  453.    super-palette for a set of images, alter the bit depth, and convert
  454.    each individual image to use that palette. It also supports scripting
  455.    to automate the process. It's available from MacConnection for $295.00
  456.    for the Macintosh. 
  457.    
  458.   7.3 FREELY DISTRIBUTABLE TOOLLS
  459.   
  460.     7.3.1 DOS and Windows
  461.     
  462.    GIFtrans for Windows 
  463.           does tranparency and is available at ftp.rz.uni-karlsruhe.de in
  464.           /pub/net/www/tools/giftrans.exe 
  465.           
  466.    Graphic Workshop for Windows and DOS 
  467.           is available at
  468.           http://uunorth.north.net:8000/alchemy/html/alchemy.html 
  469.           
  470.    LView Pro for Windows 
  471.           does 87a, 89a, and reads JPEGs and is available at
  472.           oak.oakland.edu in /pub/msdos/windows3 
  473.           
  474.    Paint Shop Pro 2.0 for Windows 
  475.           does 89a, interlacing, reads many formats and is available at
  476.           ftp://oak.oakland.edu/pub/msdos/windows3/psp20.zip 
  477.           
  478.    PicLab 
  479.           does interlacing and some manipulation of GIFs 
  480.           
  481.    TransGIF for DOS 
  482.           is available at
  483.           http://melmac.corp.harris.com/transparent_images.html 
  484.           
  485.    WinGIF 
  486.           does interlacing 
  487.           
  488.     7.3.2 Macintosh
  489.     
  490.    GIFConverter 
  491.           will interlace GIFs. 
  492.           
  493.    Transparency 
  494.           is available at
  495.           http://www.med.cornell.edu/~giles/projects.html#transparency 
  496.           
  497.     7.3.3 OS/2
  498.     
  499.    PMJPeg 
  500.           converts BMPs, GIFs, JPEGs, and more, and is available at
  501.           ftp.cdrom.com in /pub/os2/...? 
  502.           
  503.     7.3.4 Unix and XWindows
  504.     
  505.    ImageMagick 
  506.           is available at
  507.           ftp://ftp.x.org/contrib/applications/ImageMagick/ImageMagick-3.
  508.           3.tar.gz 
  509.           
  510.    giftool 
  511.           is available at http://www.homepages.com/tools/ 
  512.           
  513.    TransGIF for Unix 
  514.           is available at
  515.           http://melmac.corp.harris.com/transparent_images.html 
  516.           
  517.    netpbm 
  518.           is a set of graphic manipulation and conversion programs
  519.           available at 
  520.           
  521.           ftp://ftp.cs.ubc.ca/pub/archive/netpbm/netpbm-1mar1994.tar.gz 
  522.           
  523.           and 
  524.           
  525.           ftp://ftp.cs.umn.edu/.arthive0/X/R5contrib/netpbm-1mar1994.tar.
  526.           gz 
  527.           
  528.    xv 
  529.           use arguments -ownmcap and -perfect to display images with a
  530.           custom palette on 8-bit graphic systems. 
  531.           
  532.    Other XMosaic 
  533.           palette mapping problems and solutions, including Unix image
  534.           manipulation tools, are available at 
  535.           
  536.           http://rugmd4.chem.rug.nl/hoesel/expo/part2.html 
  537.           
  538.           or 
  539.           
  540.           http://nearnet.gnn.com/mag/1_94/articles/hassel/image-proc.html
  541.           
  542.     7.3.5 Other
  543.     
  544.    GD 
  545.           is a graphics library that you compile for your platform, and
  546.           can be found at http://siva.cshl.org/gd/gd.html 
  547.           
  548.    DOS, Windows, Mac, Unix, and XWindows 
  549.           graphic tools can be found at 
  550.           
  551.           http://www2.ncsu.edu/bae/people/faculty/walker/hotlist/graphics
  552.           .html 
  553.           
  554. 8. Inline Image Tricks and Tips
  555.  
  556.      * Use only the resolution necessary for your images. If your site is
  557.        an art gallery, JPEGs would be most appropriate. If you
  558.        intersperse your text with decorative images, GIFs with a few
  559.        colors should work just fine. If they are accents or incidental,
  560.        make them small. 
  561.      * Thumbnail-sized inline GIF images are best to preview and link to
  562.        a high quality JPEG image. The thumbnail GIF will download fast,
  563.        and the viewer will have a preview before downloading a high
  564.        quality jpeg. 
  565.      * Check the file size and quality of GIF vs. JPEG for your images. 
  566.      * Experiment with reducing the palette to reduce the file size. 
  567.      * Be careful about putting style over substance; enough WWW sites
  568.        are already sorely lacking in both! Good GIFs on a WWW site are
  569.        not really that impressive; many supermarket tabloids have better
  570.        resolution and more colors. 
  571.      * A picture should certainly be worth a thousand words, especially
  572.        if the file size is a thousand kilobytes! How much is it worth if
  573.        no one is willing to wait for it to download? 
  574.      * Since so many people have slow connections, it is most corteous to
  575.        go easy on the graphics for your homepage, and list the file size
  576.        of your larger files. This way, users with slow connections will
  577.        not spend a long time waiting before knowing what they are
  578.        getting. 
  579.      * Colormap reduction will not only make your pages look better on a
  580.        wide variety of platforms, it also saves bandwidth and time. 
  581.      * Hang on to your original images. Eventually, most browsers will
  582.        support inline JPEGs, so you may want to reconvert some of your
  583.        original images to that format. 
  584.      * The screen capture function is an easy way to put nicely formatted
  585.        tables and such on your page as an inline image. Just capture
  586.        whatever you want and convert it to a GIF. 
  587.      * Balance your images andToo much text on a page can lead to lead to
  588.        endless scrolling and boredom. On the other hand, you should make
  589.        sure that your pages are useable without images, where possible
  590.        (i.e. not an art gallery.) 
  591.        
  592.                    9. ABOUT THIS DOCUMENT AND ITS CREATION
  593.                                        
  594.    Dan Lottero and I are working on a project called The Online Art
  595.    Gallery in The Computer Clubhouse @ The Computer Museum in Boston.
  596.    (It's not online yet.) The Clubhouse is an informal educational
  597.    environment for 10 to 16 year-olds from underserved communities, where
  598.    they learn to use computer technology creatively. The gallery features
  599.    art created by Clubhouse members with Adobe Photoshop. Many of the
  600.    images use thousands of colors, and have to be reduced to 256 color
  601.    GIFs to be displayed as inlined images. We decided to go with inlined
  602.    images for speed and simplicity, and to use the Mosaic window as a
  603.    ``frame'' for the work. We noticed that the Macintoshes on our network
  604.    were displaying the images very nicely, even the Macs with 8 bit
  605.    displays, but they looked horrible on XWindows mosaic. This document
  606.    is the result of our looking into this problem. 
  607.    
  608.                        10. FEEDBACK AND CONTRIBUTIONS
  609.                                        
  610.    Please send comments, corrections, and additional information to:
  611.    Maintained by Brian Patrick Lee (blee@media-lab.mit.edu) This FAQ
  612.    brings up more questions than answers, so I need some help in the
  613.    following areas: 
  614.      * All Browsers 
  615.         How do they deal with color mapping? 
  616.                o Dithering? 
  617.                o User control over dithering? 
  618.                o User control over palette mapping? 
  619.           + Inline image features supported 
  620.                o Interlacing? 
  621.                o Transparency? 
  622.                o JPEGs? 
  623.                o Other image formats? 
  624.           + Displaying alt text when autoloading of images is off? 
  625.      * Graphic Tools 
  626.           + Tools not listed here 
  627.           + Addresses for all tools 
  628.           + Features for all tools 
  629.             
  630.    I also welcome any comments, criticism, suggestions, etc. 
  631.    
  632. 11. Credits
  633.  
  634.    I'd like to thank Dan Lottero for his indispensible help with this
  635.    document, The Online Art Gallery, and Unix; Dan Ellis for help with
  636.    XWindows and Unix; and Stina Cooke, Sam Christy, Noah Southall, and
  637.    the Clubhouse Members for making my job fun and rewarding. 
  638.    
  639.    I'd also like to thank the following individuals who contributed via
  640.    email: 
  641.  
  642. Dwight Hare (dwight.hare@eng.sun.com)
  643. Kee Hinckley (nazgul@wraith.utopia.com) 
  644. Frerk Meyer (frerk@educat.hu-berlin.de) 
  645. Kyle Shannon (kyle@indienet.com)
  646. Jim Seidman (jim@spyglass.com)
  647. Eric W. Sink (eric@spyglass.com) and
  648. Bjoern Stabell (bjoerns@acm.org)
  649.  
  650.   11.2 COPYRIGHT NOTICE
  651.   
  652.    Copyright (c) 1994 by Brian Patrick Lee. All rights reserved. This FAQ
  653.    may be freely redistributed, as long as it is posted in its entirety
  654.    and includes this copyright notice. This FAQ may not be distributed
  655.    for financial gain, or incorporated into commercial documents or
  656.    compilations without the express permission of the author. This FAQ is
  657.    provided as is, without any express or implied warranty. 
  658.    
  659.   11.1 CITING THIS DOCUMENT
  660.   
  661.    If you want to cite this FAQ for some reason, please use the following
  662.    format: Brian Patrick Lee, ``Inline Images FAQ'', version number 0.9b,
  663.    December 11, 1994. It would be nice if you let me know about it, also.